package com.atguigu.paymentdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * 讲师表
 *
 * @author wulifeng
 */
@Data
@TableName("t_course_teacher")
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "讲师表")
public class CourseTeacher extends Model<CourseTeacher> {
    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 最后更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    /**
     * 讲师名称
     */
    private String teacherName;
    /**
     * 讲师头像ossurl
     */
    private String teacherPicture;
    /**
     * 讲师简介
     */
    private String teacherIntroduction;
}
